package cn.study.luckydomain.rule;

import cm.study.config.exception.LdException;
import lombok.Data;

@Data
public class MinNum {
    private Integer number;
    public MinNum(Integer number){
        if(number<1){
            throw new LdException("规则次数必须大于1");
        }
        this.number=number;
    }
}
